package org.centsuse.intention_spring.invention.segmentation.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

// 请求体
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class DpChatRequest {
    private String model;
    private List<Message> messages;
    private double temperature;

    public DpChatRequest(List<Message> messages) {
        this.messages = messages;
    }

    @Data
    @Builder
    @NoArgsConstructor
    @AllArgsConstructor
    public static class Message {
        private String role;
        private String content;
    }
}


